package com.ruoyi.sbxm.xmjh.domain;

import java.math.BigDecimal;
import java.util.List;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 项目计划对象 sbxm_xmjh
 *
 * @author huacai
 * @date 2024-11-09
 */
public class Xmjh extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 项目计划ID */
    @Excel(name = "项目计划ID")
    private String xmjhId;

    /** 立项名称 */
    @Excel(name = "立项名称")
    private String lxName;

    /** 年度 */
    @Excel(name = "年度")
    private String nd;

    /** 依托工程 */
    @Excel(name = "依托工程")
    private String ytGc;

    /** 承担单位 */
    @Excel(name = "承担单位")
    private String cdDw;

    /** 项目编号 */
    @Excel(name = "项目编号")
    private String xmBh;

    /** 合同编号 */
    @Excel(name = "合同编号")
    private String htBh;

    /** 项目总额 */
    @Excel(name = "项目总额")
    private BigDecimal xmZe;

    /** 资助费用 */
    @Excel(name = "资助费用")
    private BigDecimal zzFy;

    /** 项目负责人 */
    @Excel(name = "项目负责人")
    private String xmFzR;

    /** 主要完成人 */
    @Excel(name = "主要完成人")
    private String zyWcR;

    /** 批准机构 */
    @Excel(name = "批准机构")
    private String pzJg;

    /** 项目状态 */
    @Excel(name = "项目状态")
    private String xmZt;

    /** 研究开始日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "研究开始日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date yjKsTime;

    /** 研究结束日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "研究结束日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date yjJsTime;

    /** ID是否存在 */
    @Excel(name = "ID是否存在")
    private String idWhere;

    /** 用户ID */
    private Integer userId;

    /** 部门ID */
    private Integer deptId;

    /** 项目计划附件信息 */
    private List<XmjhFj> xmjhFjList;

    public void setXmjhId(String xmjhId)
    {
        this.xmjhId = xmjhId;
    }

    public String getXmjhId()
    {
        return xmjhId;
    }
    public void setLxName(String lxName)
    {
        this.lxName = lxName;
    }

    public String getLxName()
    {
        return lxName;
    }
    public void setNd(String nd)
    {
        this.nd = nd;
    }

    public String getNd()
    {
        return nd;
    }
    public void setYtGc(String ytGc)
    {
        this.ytGc = ytGc;
    }

    public String getYtGc()
    {
        return ytGc;
    }
    public void setCdDw(String cdDw)
    {
        this.cdDw = cdDw;
    }

    public String getCdDw()
    {
        return cdDw;
    }
    public void setXmBh(String xmBh)
    {
        this.xmBh = xmBh;
    }

    public String getXmBh()
    {
        return xmBh;
    }
    public void setHtBh(String htBh)
    {
        this.htBh = htBh;
    }

    public String getHtBh()
    {
        return htBh;
    }
    public void setXmZe(BigDecimal xmZe)
    {
        this.xmZe = xmZe;
    }

    public BigDecimal getXmZe()
    {
        return xmZe;
    }
    public void setZzFy(BigDecimal zzFy)
    {
        this.zzFy = zzFy;
    }

    public BigDecimal getZzFy()
    {
        return zzFy;
    }
    public void setXmFzR(String xmFzR)
    {
        this.xmFzR = xmFzR;
    }

    public String getXmFzR()
    {
        return xmFzR;
    }
    public void setZyWcR(String zyWcR)
    {
        this.zyWcR = zyWcR;
    }

    public String getZyWcR()
    {
        return zyWcR;
    }
    public void setPzJg(String pzJg)
    {
        this.pzJg = pzJg;
    }

    public String getPzJg()
    {
        return pzJg;
    }
    public void setXmZt(String xmZt)
    {
        this.xmZt = xmZt;
    }

    public String getXmZt()
    {
        return xmZt;
    }
    public void setYjKsTime(Date yjKsTime)
    {
        this.yjKsTime = yjKsTime;
    }

    public Date getYjKsTime()
    {
        return yjKsTime;
    }
    public void setYjJsTime(Date yjJsTime)
    {
        this.yjJsTime = yjJsTime;
    }

    public Date getYjJsTime()
    {
        return yjJsTime;
    }
    public void setIdWhere(String idWhere)
    {
        this.idWhere = idWhere;
    }

    public String getIdWhere()
    {
        return idWhere;
    }
    public void setUserId(Integer userId)
    {
        this.userId = userId;
    }

    public Integer getUserId()
    {
        return userId;
    }
    public void setDeptId(Integer deptId)
    {
        this.deptId = deptId;
    }

    public Integer getDeptId()
    {
        return deptId;
    }

    public List<XmjhFj> getXmjhFjList()
    {
        return xmjhFjList;
    }

    public void setXmjhFjList(List<XmjhFj> xmjhFjList)
    {
        this.xmjhFjList = xmjhFjList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("xmjhId", getXmjhId())
            .append("lxName", getLxName())
            .append("nd", getNd())
            .append("ytGc", getYtGc())
            .append("cdDw", getCdDw())
            .append("xmBh", getXmBh())
            .append("htBh", getHtBh())
            .append("xmZe", getXmZe())
            .append("zzFy", getZzFy())
            .append("xmFzR", getXmFzR())
            .append("zyWcR", getZyWcR())
            .append("pzJg", getPzJg())
            .append("xmZt", getXmZt())
            .append("yjKsTime", getYjKsTime())
            .append("yjJsTime", getYjJsTime())
            .append("idWhere", getIdWhere())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("userId", getUserId())
            .append("deptId", getDeptId())
            .append("xmjhFjList", getXmjhFjList())
            .toString();
    }
}
